翻訳と辞書
Words near each other
・ Class T
・ Class traitor
・ Class Trip
・ Class Trip (album)
・ Class U special wagon
・ Class variable
・ Class War
・ Class war
・ Class War (album)
・ Class Warfare
・ Class Wargames
・ Class Z Reserve
・ Class, Bureaucracy, and Schools
・ Class-4 telephone switch
・ Class-5 telephone switch
Class-based programming
・ Class-based queueing
・ Class-D amplifier
・ Class-responsibility-collaboration card
・ Class-size reduction
・ Class-T amplifier
・ Class40
・ CLASSA
・ ClassDojo
・ Classe
・ Classe di ferro
・ Classe Mini
・ Classe mista
・ Classe préparatoire aux grandes écoles
・ Classe Tous Risques


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Class-based programming : ウィキペディア英語版
Class-based programming

Class-based programming, or more commonly class-orientation, is a style of object-oriented programming (OOP) in which inheritance is achieved by defining ''classes'' of objects, as opposed to the objects themselves (compare prototype-based programming).
The most popular and developed model of OOP is a class-based model, as opposed to an object-based model. In this model, objects are entities that combine ''state'' (i.e. data), ''behavior'' (i.e. procedures, or ''methods'') and ''identity'' (unique existence among all other objects). The structure and behavior of an object are defined by a class, which is a definition, or blueprint, of all objects of a specific type. An object must be explicitly created based on a class and an object thus created is considered to be an instance of that class. An object is similar to a structure, with the addition of method pointers, member access control, and an implicit data member which locates instances of the class (i.e. actual objects of that class) in the class hierarchy (essential for runtime inheritance features).
==Encapsulation==
Encapsulation prevents users from breaking the invariants of the class, which is useful because it allows the implementation of a class of objects to be changed for aspects not exposed in the interface without impact to user code. The definitions of encapsulation focus on the grouping and packaging of related information (cohesion) rather than security issues. OOP languages do not normally offer formal security restrictions to the internal object state. Using a method of access is a matter of convention for the interface design.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Class-based programming」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.